<!DOCTYPE html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Search</title>
</head>
<body>
<div th:replace="common/top"></div>
<div id="BackLink">
    <a href="/catalog/view" class>Return to Main Menu</a>
</div>
<div id="Content">
    <table class="rwd-table">
        <tr>
            <th>&nbsp;</th>
            <th>Product ID</th>
            <th>Name</th>
        </tr>

            <tr th:each="product:${session.productList}">
                <td>
                    <a th:href="@{/catalog/viewProduct(productId=${product.productId})}" th:utext="${product.description}"></a>
                </td>
                <td><b>
                    <a th:href="@{/catalog/viewProduct(productId=${product.productId})}" th:text="${product.productId}"> </a>
                </b></td>
                <td th:text="${product.name}"></td>
            </tr>
        <tr>
            <td></td>
        </tr>

    </table>
</div>
<div th:replace="common/bottom"></div>

</body>
</html>